<template>
	<view class="navBar">
		<view class="logo">
			<image src="@/static/images/logo.png" mode="" class="logo-image"></image>
			<text class="logo-text">新鲜 · 亲民 · 快捷</text>
		</view>
		<view class="search">
			<view class="left">
				<uni-icons type="search" size="20" color="#fff" class="icon-left"></uni-icons>
				<text class="content">搜索商品</text>
			</view>
			<uni-icons type="scan" size="20" color="#fff" class="icon-right"></uni-icons>
		</view>
	</view>
</template>

<script>
</script>

<style lang="scss">
	.navBar{
		background-image: url('@/static/images/navigator_bg.png');
		background-size: cover;
		display: flex;
		flex-direction: column;
		.logo{
			display: flex;
			height: 64rpx;
			align-items: center;
			 padding-left: 30rpx;
			 padding-top: 20rpx;
			.logo-image{
				width: 166rpx;
				height: 39rpx;
			}
			.logo-text{
				flex: 1;
				line-height: 28rpx;
				color: #fff;
				 margin: 2rpx 0 0 20rpx;
				 padding-left: 20rpx;
				 border-left: 1rpx solid #fff;
				 font-size: 26rpx;
			}
		}
		.search {
		    display: flex;
		    align-items: center;
		    justify-content: space-between;
		    padding: 0 10rpx 0 26rpx;
		    height: 64rpx;
		    margin: 16rpx 20rpx;
		    color: #fff;
		    font-size: 28rpx;
		    border-radius: 32rpx;
		    background-color: rgba(255, 255, 255, 0.5);
			.left{
				display: flex;
				align-items: center;
				.icon-left{
					margin-right: 10rpx;
				}
			}
		  }
	}
</style>